MailPoet\Services\AuthorizedEmailsController A

Total Complexity 54
Dependencies 12
Dependents 19
Total lines 252
Lines of code 166
Logical lines of code 104
Comment lines 14
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
isSenderAddressValid()
A
56 8 18
setFromEmailAddress()
S
54 6 19
createAuthorizedEmailAddress()
S
55 6 18
onNewsletterSenderAddressUpdate()
S
62 6 11
validateAddressesInScheduledAndAutomaticEmails()
S
54 5 22
checkAuthorizedEmailAddresses()
S
56 4 19
getAuthorizedEmailAddresses()
S
61 4 12
updateMailerLog()
S
66 4 9
onSettingsSave()
S
65 3 8
validateAddressesInSettings()
S
64 3 10
isEmailAddressAuthorized()
S
75 2 4
__construct()
S
69 1 7
validateAuthorizedEmail()
S
74 1 4
validateEmailDomainIsVerified()
S
72 1 5